Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: @RegQueryValue
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Functionality
Platform: Windows
Release: 8.5.1
Reproducible: Always

@ReqQueryValue cannot be used to get the Windows Temporary Directory.
This is a problem, because MS have changed the folders so that you cannot right to the Root folder of the C:\ drive.

According to Microsoft website, the correct temporary location can be obtained by using the following Registry Key:

tempDir:= @RegQueryValue("HKEY_LOCAL_MACHINE" ; "SYSTEM\\CurrentControlSet\\Control\\Terminal Server" ; "PerSessionTempDir");

However this registry entry is kinda 'hidden' or the icon for it in the registry is like a blue data, perhaps indicating it's a binary type or something?
Other registry keys in the same folder can be obtained, these ones have an icon that is 'red letters' and on the right hand side in the registry the value is displayed.

An alternative is this registry entry:
tempDir:= @RegQueryValue("HKEY_CURRENT_USER" ; "Environment" ; "TEMP");

But this returns to Lotus Notes:
%USERPROFILE%\AppData\Local\Temp

e.g. the %USERPROFILE% is not resolved...


Feedback number WEBB85DLEL created by ~Evelyn Cisnither on 05/12/2010

Status: Open
Comments:

@RegQueryValue (~Evelyn Cisnith... 12.May.10)
. . Use the Environ function (~Delores Nonger... 13.May.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS